import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class AssessmentDetailsModalService {
  serviceUrls = {
    getContentUrl: '/recycle/evalMould/getContextByModelId' // 获取评估题目
  }

  constructor(public httpClient: HttpClient) { }

  // 查询题目list
  getContentData(params: any) {
    return this.httpClient.get(this.serviceUrls.getContentUrl, { params }).toPromise();
  }
}
